export default [
  {
    path: '/',
    redirect: '/daily/todaily',
  },
  {
    path: '/welcome',
    name: '欢迎',
    icon: 'smile',
    component: './Welcome',
  },
  {
    path: '/daily',
    name: '日常任务',
    icon: 'unordered-list',
    routes: [
      {
        path: '/daily/todaily',
        name: '待办任务',
        component: './Business/ToDaily',
      },
      {
        path: '/daily/mydaily',
        name: '我发起的任务',
        component: './Business/MyDaily',
      },
      {
        path: '/daily/alldaily',
        name: '全部任务',
        component: './Business/Daily',
      },
    ],
  },
  {
    path: '/ana', // 数据分析-开票分析
    name: '数据分析',
    icon: 'pie-chart',
    routes: [
      {
        path: '/ana/ticket',
        name: '开票分析',
        component: './Welcome',
      },
    ],
  },
  {
    path: '/customerdev',
    name: '客户开发',
    icon: 'user',
    routes: [
      {
        path: '/customerdev/directories',
        name: '企业名录',
        component: './Business/Directories',
      },
      {
        path: '/customerdev/followup',
        name: '我的跟进',
        component: './Business/Followup',
      },
      {
        path: '/customerdev/phonenums',
        name: '同行号码资源库',
        component: './Business/Phonenums',
      },
      {
        path: '/customerdev/disrectories',
        name: '解约企业',
        component: './Business/Disrectories',
      },
    ],
  },
  {
    path: '/business',
    name: '业务管理',
    icon: 'gold',
    routes: [
      {
        path: '/business/business',
        name: '业务新增',
        component: './Business/Business',
      },

      {
        path: '/business/renewal',
        name: '续单新增',
        component: './Business/Renewal',
      },

      {
        path: '/business/settle',
        name: '结算列表',
        component: './Business/Settle',
      },
    ],
  },
  {
    path: '/customer',
    name: '客户管理',
    icon: 'team',
    routes: [
      {
        path: '/customer/customer',
        name: '客户联系人',
        component: './Customer/Customer',
      },
      {
        path: '/customer/company',
        name: '客户公司',
        component: './Customer/Company',
      },
      /* add */
      {
        path: '/customer/accounting',
        name: '批量会计变更',
        component: './Customer/Accounting',
      },
      {
        path: '/customer/exchange',
        name: '变更客户信息',
        component: './Customer/Exchange',
      },
      /* add */
      {
        path: '/customer/voucher',
        name: '凭证报送',
        component: './Customer/Voucher',
      },
      {
        path: '/customer/oneservice',
        name: '一站式服务',
        component: './Customer/Oneservice',
      },
    ],
  },
  {
    path: '/customeruphold',
    name: '客户维护',
    icon: 'user-delete',
    routes: [
      {
        path: '/customeruphold/analysis',
        name: '客户开票信息汇总分析',
        component: './Business/Analysis',
      },
      {
        path: '/customeruphold/invoice',
        name: '开票服务',
        component: './Business/Invoice',
      },
      {
        path: '/customeruphold/inputtax',
        name: '进项税额',
        component: './Business/Inputtax',
      },
      {
        path: '/customeruphold/taxnotice',
        name: '税务申报',
        component: './Customer/Taxnotice',
      },
      {
        path: '/customeruphold/monthchange',
        name: '月收费变更',
        component: './Customer/Monthchange',
      },
      {
        path: '/customeruphold/monthcompleted',
        name: '查询变更月收费',
        component: './Customer/Monthcompleted',
      },
      {
        path: '/customeruphold/domessage',
        name: '一对一发消息',
        component: './Customer/Domessage',
      },
      {
        path: '/customeruphold/bcnotice',
        name: '工商年报',
        component: './Customer/Bcnotice',
      },
      {
        path: '/customeruphold/rescind',
        name: '解约流程',
        component: './Business/Rescind',
      },
      {
        path: '/customeruphold/completerescind',
        name: '完成解约',
        component: './Business/CompleteRescind',
      },
    ],
  },
  {
    path: '/dispatchpro',
    name: '审核管理',
    icon: 'solution',
    routes: [
      {
        path: '/dispatchpro/dispatchvoucher',
        name: '凭证审核入库',
        component: './Customer/DispatchVoucher',
      },
      {
        path: '/dispatchpro/monthchief',
        name: '月收费变更审核',
        component: './Customer/Monthchief',
      },
      {
        path: '/dispatchpro/dispatch',
        name: '会计调度审核',
        component: './Business/Dispatch',
      },
      {
        path: '/dispatchpro/account',
        name: '记账会计审核',
        component: './Business/Account',
      },
      {
        path: '/dispatchpro/accountrescind',
        name: '审核解约',
        component: './Business/AccountRescind',
      },
    ],
  },

  {
    path: '/finance',
    name: '财务管理',
    icon: 'pay-circle',
    routes: [
      {
        path: '/finance/receipt',
        name: '新建收款单',
        component: './Finance/Receipt',
      },
      {
        path: '/finance/cashier',
        name: '出纳审核收款单',
        component: './Finance/Cashier',
      },
      {
        path: '/finance/reaccount',
        name: '会计审核收款单',
        component: './Finance/Reaccount',
      },
      {
        path: '/finance/register',
        name: '会计登账',
        component: './Finance/Register',
      },
      {
        path: '/finance/dispatchrenewal',
        name: '会计审核续单',
        component: './Finance/DispatchRenewal',
      },
      {
        path: '/finance/salary',
        name: '全员提成查询',
        component: './Finance/Salary',
      },
      {
        path: '/finance/usersalary',
        name: '个人提成查询',
        component: './Finance/UserSalary',
      },
      {
        path: '/finance/accountrenew',
        name: '代账续费',
        component: './Finance/Accountrenew',
      },
    ],
  },
  {
    path: '/dossier',
    name: '档案管理',
    icon: 'file-protect',
    routes: [
      {
        path: '/dossier/dossiersave',
        name: '凭证存放',
        component: './Dossier/Dossiersave',
      },
      {
        path: '/dossier/dossier',
        name: '凭证管理',
        component: './Dossier/Dossier',
      },
      {
        path: '/dossier/dossieredo',
        name: '凭证维护',
        component: './Dossier/Dossieredo',
      },
      {
        path: '/dossier/dispatchdossier',
        name: '凭证审核',
        component: './Dossier/DispatchDossier',
      },
      {
        path: '/dossier/company',
        name: '原件资料',
        component: './Dossier/Company',
      },
      {
        path: '/dossier/resource',
        name: '账簿报表',
        component: './Dossier/Resource',
      },
    ],
  },
  {
    path: '/feedback',
    name: '客户反馈',
    icon: 'message',
    routes: [
      {
        path: '/feedback/online',
        name: '在线沟通',
        component: './FeedBack/Online',
      },
      {
        path: '/feedback/feedlist',
        name: '投诉列表',
        component: './FeedBack/FeedList',
      },
    ],
  },
  {
    path: '/basic',
    name: '系统基础管理',
    icon: 'setting',
    routes: [
      {
        path: '/basic/team',
        name: '业务团队',
        component: './Basic/Team',
      },
      {
        path: '/basic/paytip',
        name: '提成设置',
        component: './Basic/Paytip',
      },
      {
        path: '/basic/payway',
        name: '收款方式',
        component: './Basic/Payway',
      },
      {
        path: '/basic/paypriod',
        name: '收款周期',
        component: './Basic/Paypriod',
      },
      {
        path: '/basic/customertype',
        name: '客户公司类型',
        component: './Basic/Customertype',
      },
      {
        path: '/basic/area',
        name: '经营区域',
        component: './Basic/Area',
      },
      {
        path: '/basic/department',
        name: '部门管理',
        component: './Basic/Department',
      },
      {
        path: '/basic/user',
        name: '职员管理',
        component: './Basic/User',
      },
      {
        path: '/basic/role',
        name: '角色管理',
        component: './Basic/Role',
      },
      {
        path: '/basic/menu',
        name: '菜单权限',
        component: './Basic/Menu',
      },
      {
        path: '/basic/activity',
        name: '优惠活动',
        component: './Basic/Activity',
      },
      /* add */
      {
        path: '/basic/things',
        name: '办事类型管理',
        component: './Basic/Things',
      },
      {
        path: '/basic/paythings',
        name: '收款类别',
        component: './Basic/PayThings',
      },
      {
        path: '/basic/tags',
        name: '公司标签',
        component: './Basic/Tags',
      },
      {
        path: '/basic/acture',
        name: '公司文化墙',
        component: './Basic/Acture',
      },
      {
        path: '/basic/ticketsetting',
        name: '开票税务设置',
        component: './Basic/TicketSetting',
      },
      {
        path: '/basic/complaintype',
        name: '投诉类型',
        component: './Basic/ComplainType',
      },
      /* add */
    ],
  },

  {
    component: './404',
  },
];
